package com.aspose.cells;

class zaoy extends zaok {
   private DateTime b;
   private DateTime c;
   private double d;
   private int e;
   private int f;
   private int g;
   private double h;
   private double i;

   public zaoy(DateTime var1, DateTime var2, double var3, int var5, int var6, int var7, double var8, double var10) {
      this.b = var1;
      this.c = var2;
      this.d = var3;
      this.e = var5;
      this.f = var6;
      this.g = var7;
      this.h = var8;
      this.i = var10;
   }

   public double b(double var1) {
      return (this.a(var1 + this.i) - this.a(var1 - this.i)) / (2.0D * this.i);
   }

   public double a(double var1) {
      return (Double)zvp.a(this.b, this.c, this.d, var1, this.e, this.f, this.g, false) - this.h;
   }

   zagu c(double var1) {
      int var3 = this.a(var1, 1.0E-7D, 20);
      return (zagu)(var3 == 0 ? new zyy(this.a) : zze.a);
   }
}
